<!--<div id="form-top">-->
<style>
    #form-top p {
        margin-right: 400px;
    }
</style>
<div class="onecolumn">
    <div class="header">
        <span style="color: red; text-align: center; font-weight: bold;">Chỉnh sửa chính sách lưu thông</span>
    </div>
    <br class="clear"/>
    <div id="form-top">
        <?php
        $form = $this->form;
        $form->setAttribute('action', $this->url('list-policy-traffic/default', array('action' => 'editCiculationPolicy', 'id' => $policyID)));
        $form->prepare();
        echo $this->form()->openTag($form);
        ?>
        <fieldset>
            <legend>Thông tin chính sách</legend>     
            <p>
                <?php
                echo $this->formLabel($form->get('policyID'));
                echo $this->formInput($form->get('policyID'));
                ?>
            </p>
            <br class="clear">
            <p>
                <?php
                echo $this->formLabel($form->get('policyName'));
                echo $this->formInput($form->get('policyName'));
                ?>
            </p>
            <br class="clear">
            <p>
                <?php
                echo $this->formLabel($form->get('amount'));
                echo $this->formInput($form->get('amount'));
                ?>
            </p>
            <br class="clear">
            <p>
                <?php
                echo $this->formLabel($form->get('unitOf'));
                echo $this->formInput($form->get('unitOf'));
                ?>
            </p>
            <div class="viewMessae" style="text-align: center">
                <?php
                if (isset($myMessage)) {
                    foreach ($myMessage as $key => $message) {
                        if ($message == "amount")
                            echo '<span style="color:red;font-weight:bold">Lỗi ở trường giá trị</span><br/>';
                    }
                }
                ?>
            </div>

            <div id="button-return" style="margin-right: 480px;">
                <?php
                echo $this->formInput($form->get('submit'));
                ?>
            </div>
        </fieldset>
        <?php echo $this->form()->closeTag($form); ?>
    </div>
</div>